﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using S.Common.Enums.Archives;
using SqlSugar;
namespace S.EarTag.Domain.Model
{
    /// <summary>
    /// 生产定级
    /// </summary>
    [SugarTable("ProductionGrading")]
    public class ProductionGrading
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey =true,IsIdentity =true)]
        public int ProductionGradingId { get; set; }
        /// <summary>
        /// 生产定级耳号
        /// </summary>
        [SugarColumn(ColumnName = "RankEarTag")]
        public string? RankEarTag { get; set; }
        /// <summary>
        /// 生产定级（从）
        /// </summary>
        [SugarColumn(ColumnName = "Prime")]
        public int Prime { get; set; }
        /// <summary>
        /// 生产定级（到）
        /// </summary>
        [SugarColumn(ColumnName = "Currents")]
        public int Currents { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        [SugarColumn(ColumnName = "CreateBy")]
        public string? CreateBy { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [SugarColumn(ColumnName = "CreateDate")]
        public DateTimeOffset CreateDate { get; set; }


        /// <summary>
        /// 修改人
        /// </summary>
        [SugarColumn(ColumnName = "UpdateBy")]
        public string? UpdateBy { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        [SugarColumn(ColumnName = "UpdateDate")]
        public string? UpdateDate { get; set; }
    }
}
